#include <stdio.h>

int lcd_open(const char *str); //init lcd
void close_lcd(void);  //close lcd
int lcd_draw_jpg_in_jpg(unsigned int x,unsigned int y, \
	const char *pjpg_path,char *pjpg_buf,unsigned int jpg_buf_size);

int main(int agrc, char **argv) {
	lcd_open("/dev/fb0");
	lcd_draw_jpg_in_jpg(0, 0, argv[1], NULL, 0);
	
	close_lcd();
	return 0;
}
